import { createApp } from 'vue'
import './style.css'
import router from './routes/index'
import App from './App.vue'
//pinia
import { createPinia } from 'pinia'

const pinia = createPinia()
import { setupI18n } from './locales'
//ant-design-vue
import 'ant-design-vue/dist/antd.css'
// import Antd from 'ant-design-vue';

const app = createApp(App)
app.config.globalProperties.$router = router

setupI18n(app)
app
  // .use(Antd)
  .use(router)
  .use(pinia)
  .mount('#app')
